#ifndef PLUGINCORE_H
#define PLUGINCORE_H

#include <QList>
#include <QObject>
#include <QPluginLoader>
#include <QDebug>
#include <QDir>
#include "plugin.h"

class Plugin;

class PluginCore : public QObject {
public:
    PluginCore(QObject *parent = 0);
    ~PluginCore(){}

    void loadPlugins(QDir path);

private:
    void loadPlugin(QObject *object, QString file);
    QMultiHash<QString, Plugin*> plugins;
signals:

public slots:

};

#endif // PLUGINCORE_H
